from django.urls import path,include
from .views import *

app_name = 'user'

urlpatterns = [
    path('register/', register, name='register'),

    path('login/', login, name='login'),
    path('logout/', logout, name='logout'),
    path('change_password/', change_password, name='change_password'),
    path('change_head/', change_head, name='change_head'),
    path('center/', center, name='center'),
    path('active/<str:id>/', active, name='active'),



    path('article_create/', ArticleCreateView.as_view(), name='article_create'),
    path('article_list/', ArticleListView.as_view(), name='article_list'),

    path('article_update/<int:pk>/', ArticleUpdateView.as_view(), name='article_update'),
    path('article_delete/<int:pk>/', ArticleDeleteView.as_view(), name='article_delete'),

]